package com.teacher.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.teacher.pojo.dto.publicwelfareactivities.PublicWelfareActivitiesGetDto;
import com.teacher.pojo.entity.PublicWelfareActivities;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.teacher.pojo.vo.publicwelfareactivities.PublicWelfareActivitiesGetVo;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 公益活动-一条0.5 Mapper 接口
 * </p>
 *
 * @author zfm
 * @since 2021-08-11
 */
public interface PublicWelfareActivitiesMapper extends BaseMapper<PublicWelfareActivities> {

    /**
     * 查询公益活动
     *
     * @param page
     * @param dto
     * @return
     */
    IPage<PublicWelfareActivitiesGetVo> getPage(@Param("page") Page<PublicWelfareActivitiesGetVo> page, @Param("dto") PublicWelfareActivitiesGetDto dto);
}
